home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsincludes / clib / egsintui_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-06  |  5.9 KB  |  144 lines

  1. #ifndef CLIB_EGSINTUI_PROTOS_H
  2. #define CLIB_EGSINTUI_PROTOS_H
  3.  
  4. /***************************************************************************\
  5. *  $
  6. *  $ FILE     : egsintui_protos.h
  7. *  $ VERSION  : 1
  8. *  $ REVISION : 5
  9. *  $ DATE     : 08-Dec-93 13:46
  10. *  $
  11. *  $ Author   : mvk
  12. *  $
  13. *
  14. *  C prototypes
  15. *
  16. *****************************************************************************
  17. *                                                                           *
  18. * (c) Copyright 1990/94 VIONA Development                                   *
  19. *     All Rights Reserved                                                   *
  20. *                                                                           *
  21. \***************************************************************************/
  22.  
  23. #ifndef         EXEC_TYPES_H
  24. #include        <exec/types.h>
  25. #endif
  26. #ifndef         EXEC_PORTS_H
  27. #include        <exec/ports.h>
  28. #endif
  29. #ifndef         DEVICES_INPUTEVENT_H
  30. #include        <devices/inputevent.h>
  31. #endif
  32. #ifndef         GRAPHICS_TEXT_H
  33. #include        <graphics/text.h>
  34. #endif
  35. #ifndef         EGS_EGS_H
  36. #include        <egs/egs.h>
  37. #endif
  38. #ifndef         EGS_EGSBLIT_H
  39. #include        <egs/egsblit.h>
  40. #endif
  41. #ifndef         EGS_EGSLAYERS_H
  42. #include        <egs/egslayers.h>
  43. #endif
  44. #ifndef         EGS_EGSGFX_H
  45. #include        <egs/egsgfx.h>
  46. #endif
  47. #ifndef         EGS_EGSINTUIGFX_H
  48. #include        <egs/egsintuigfx.h>
  49. #endif
  50. #ifndef         EGS_EGSINTUI_H
  51. #include        <egs/egsintui.h>
  52. #endif
  53.  
  54. void EI_LockIntuition (void);
  55. void EI_UnlockIntuition (void);
  56. EI_ScreenPtr EI_OpenScreen (struct EI_NewScreen *newScreen);
  57. void EI_CloseScreen (EI_ScreenPtr scr);
  58. EI_WindowPtr EI_OpenWindow (struct EI_NewWindow *win);
  59. void EI_CloseWindow (EI_WindowPtr win);
  60. void EI_ActivateWindow (EI_WindowPtr win);
  61. void EI_DeactivateWindow (EI_WindowPtr win);
  62. void EI_WindowToFront (EI_WindowPtr win);
  63. void EI_WindowToBack (EI_WindowPtr win);
  64. void EI_MoveWindow (EI_WindowPtr win, WORD dx, WORD dy);
  65. void EI_ScrollWindow (EI_WindowPtr win, WORD dx, WORD dy);
  66. void EI_SizeWindow (EI_WindowPtr win, WORD dx, WORD dy);
  67. void EI_WindowBorder (EI_WindowPtr win, WORD dx, WORD dy);
  68. void EI_SetWindowTitles (EI_WindowPtr win, char *wTitle, char *sTitle);
  69. ULONG EI_BeginRefresh (EI_WindowPtr win, LONG key);
  70. void EI_EndRefresh (EI_WindowPtr win, ULONG ready);
  71. void EI_RedrawGadgetList (EI_WindowPtr win, ULONG border, ULONG inside);
  72. void EI_ActivateGadget (EI_WindowPtr win, EI_GadgetPtr gad, ULONG force);
  73. void EI_AddGadget (EI_WindowPtr win, EI_GadgetPtr gad);
  74. void EI_AddGList (EI_WindowPtr win, EI_GadgetPtr gad, WORD num);
  75. void EI_RemoveGadget (EI_WindowPtr win, EI_GadgetPtr gad);
  76. void EI_RemoveGList (EI_WindowPtr win, EI_GadgetPtr gad, WORD num);
  77. void EI_RefreshGadget (EI_WindowPtr win, EI_GadgetPtr gad);
  78. void EI_RefreshGList (EI_WindowPtr win, EI_GadgetPtr gad, WORD num);
  79. void EI_OnGadget (EI_WindowPtr win, EI_GadgetPtr gad);
  80. void EI_OnGList (EI_WindowPtr win, EI_GadgetPtr gad, WORD num);
  81. void EI_OffGadget (EI_WindowPtr win, EI_GadgetPtr gad);
  82. void EI_OffGList (EI_WindowPtr win, EI_GadgetPtr gad, WORD num);
  83. void EI_PutMenuHome (EI_MenuPtr menu);
  84. void EI_PutMenuOut (EI_MenuPtr menu, EI_WindowPtr win, WORD x, WORD y);
  85. void EI_SetMenuStrip (EI_WindowPtr win, EI_MenuPtr menu);
  86. void EI_SetPointer (EI_WindowPtr win, E_EMousePtr mouse);
  87. void EI_ClearPointer (EI_WindowPtr win);
  88. ULONG EI_DoubleClick (LONG StartSec, LONG StartMicros,
  89.               LONG EndSec, LONG EndMicros);
  90. void EI_ModifyIDCMP (EI_WindowPtr win, ULONG flags);
  91.  
  92. void EI_ReportMouse (EI_WindowPtr win, BOOL flags);
  93.  
  94. void EI_Interpret (EG_RastPortPtr rast, IG_WinColorsPtr colors,
  95.            IG_IntuiGfxPtr toff, IG_IntuiGfxPtr prog,
  96.            WORD x, WORD y);
  97. void EI_InterpretStacked (EG_RastPortPtr rast, IG_WinColorsPtr colors,
  98.               IG_IntuiGfxPtr prog, WORD x, WORD y);
  99. void EI_Interpret1Param (EG_RastPortPtr rast, IG_WinColorsPtr colors,
  100.              IG_IntuiGfxPtr prog, WORD x, WORD y, LONG para1);
  101. void EI_Interpret2Param (EG_RastPortPtr rast,
  102.              IG_WinColorsPtr colors, IG_IntuiGfxPtr prog,
  103.              WORD x, WORD y, LONG para1, LONG para2);
  104. WORD EI_SysRequest (EI_WindowPtr win, char *title, char *bodyTxt, char *gadgTxt);
  105. struct TextAttr *EI_GetPrefFont (ULONG type);
  106. struct EI_NewScreen *EI_GetDefaultScreen(void);
  107. void EI_RefreshWindow (EI_WindowPtr win);
  108. void EI_RefreshScreen (EI_ScreenPtr scr);
  109. void EI_SleepWindow (EI_WindowPtr win);
  110. void EI_WakeWindow (EI_WindowPtr win);
  111. ULONG EI_ObtainColor (EI_ScreenPtr scr, UBYTE r, UBYTE g, UBYTE b);
  112. void EI_ReleaseColor (EI_ScreenPtr scr, ULONG color);
  113. ULONG EI_GetWinColor (EI_ColorTablePtr colors, ULONG tag);
  114. ULONG EI_GetDefaultColor (WORD depth, ULONG tag);
  115. ULONG EI_CloneColor (EI_ScreenPtr scr, ULONG color);
  116. EI_MenuItemPtr EI_FindMenuItem (EI_MenuPtr menu, LONG id);
  117. EI_MenuPtr EI_FindSubMenu (EI_MenuPtr menu, LONG id);
  118. void EI_ToggleMenuItem (EI_MenuPtr menu, EI_MenuItemPtr item);
  119. void EI_OnMenuItem (EI_MenuPtr menu, EI_MenuItemPtr item);
  120. void EI_OffMenuItem (EI_MenuPtr menu, EI_MenuItemPtr item);
  121. void EI_FreeMenu(EI_MenuPtr menu);
  122. EI_MenuPtr EI_CreateMenu(void);
  123. void EI_AddToMenu(EI_MenuPtr menu, EI_MenuItemPtr item);
  124. void EI_AddToItem(EI_MenuItemPtr item, EI_MenuItemPtr add);
  125. EI_MenuItemPtr EI_CreateItem(EG_EFontPtr font, char *name, LONG id, char key, LONG toggle);
  126. EI_MenuItemPtr EI_CreateLeave(void);
  127. E_EMousePtr EI_GetPrefPointer(ULONG tag);
  128. void EI_DragNDropClip(IG_IntuiGfxPtr draw, int ox, int oy, int w, int h,
  129.               EI_WindowPtr from, LONG type, LONG clipID);
  130. void EI_DragNDropFile(IG_IntuiGfxPtr draw, int ox, int oy, int w, int h,
  131.               EI_WindowPtr from, LONG type, char *file);
  132. void EI_DragNDropFiles(IG_IntuiGfxPtr draw, int ox, int oy, int w, int h,
  133.               EI_WindowPtr from, LONG type, char *files);
  134. void EI_DragNDropData(IG_IntuiGfxPtr draw, int ox, int oy, int w, int h,
  135.               EI_WindowPtr from, LONG type, APTR data, LONG size);
  136.  
  137. LONG EI_GetPrefsColor(WORD depth,ULONG tag);
  138. void EI_DeactivateGadget(void);
  139. void EI_MigrateWindow(EI_WindowPtr win,EI_ScreenPtr scr, WORD x, WORD y);
  140. void EI_SetMouseMoveIntervall(EI_WindowPtr win,LONG micro);
  141.  
  142. #endif /* CLIB_EGSINTUI_PROTOS_H */
  143.  
  144.